package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.pojos.ApAuthor;
import com.heima.model.common.dtos.ResponseResult;

public interface ApAuthorService extends IService<ApAuthor> {

    //根据ApUser id查询作者信息
    ResponseResult findByUserId(Integer id);

    //保存作者信息
    ResponseResult insert(ApAuthor apAuthor);
}
